/**  
* <p>Title: ZuulApplication</p>  
* <p>Description: </p>  
* @author 王敞   365799712@qq.com
* @date 2020年7月14日  

*/  
package com.woniuxy.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**  
* <p>Title: ZuulApplication</p>  
* <p>Description: </p>  
* @author 王敞   365799712@qq.com
* @date 2020年7月14日  
*/
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy //开启网关功能
@EnableFeignClients("com.woniuxy.commons.service")//扫描feign接口包
public class ZuulApplication {
	public static void main(String[] args) {
		SpringApplication.run(ZuulApplication.class, args);
	}
}
